Results of a relativistic model for pion- and photon-induced reactions on the proton are presented. The model is crossing symmetric and gauge invariant. The nucleon resonances P_11 (1440), P_11 (1710), D_13 (1520), S_11 (1535), S_11 (1650), P_33 (1232), P_33 (1600), S_31 (1620), and D_33 (1700) have been included explicitly in the calculation. Unitarity within the channel space \pi N + \gamma N below the two-pion production threshold has been achieved by using the K-matrix approach. Strong and electromagnetic coupling parameters of the N* resonances have been determined from a fit to the pion-nucleon phase shifts, pion-photoproduction multipoles and Compton-scattering cross sections. The model is shown to describe simultaneously most of the available data. Results for the electric and magnetic polarizabilities of the nucleon are presented.